#ifndef CONVERTOR_H
#define CONVERTOR_H

#include <QObject>
#include <QDir>
class Convertor : public QObject
{
    Q_OBJECT
public:
    explicit Convertor(QObject *parent = nullptr);
    explicit Convertor(QObject *parent = nullptr,QString dllPath="",QString platform="");



    QString getDllPath() const;
    void setDllPath(const QString &newDllPath);

    QString getPlatform() const;
    void setPlatform(const QString &newPlatform);

    QString getFileBaseName() const;
    void setFileBaseName(const QString &newFileBaseName);

    QString getDefPath() const;
    void setDefPath(const QString &newDefPath);
    void generateDef();
    void pexportDef();
    bool buildLibFile();
    bool buildAFile();
signals:

private:

    QString dllPath;
    QString platform;
    QString fileBaseName;
    QString defPath;
};

#endif // CONVERTOR_H
